﻿// Copyright (c) Inossem. All rights reserved.
// Licensed under the LGPL-3.0 license. See LICENSE file in the project root for full license information.
using Newtonsoft.Json;

namespace DWF.Studio.V8Communicator.Messages.Runtime
{
    public class RemoteObject
    {
        [JsonProperty("type")]
        public string ObjectType { get; set; }

        [JsonProperty("subtype")]
        public string ObjectSubtype { get; set; }

        [JsonProperty("className")]
        public string ClassName { get; set; }

        [JsonProperty("value")]
        public object Value { get; set; }

        [JsonProperty("unserializableValue")]
        public string UnserializableValue { get; set; }

        [JsonProperty("objectId")]
        public string ObjectId { get; set; }

        [JsonProperty("preview")]
        public ObjectPreview Preview { get; set; }

        [JsonProperty("customPreview")]
        public CustomPreview CustomPreview { get; set; }
    }
}